<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- Head -->
<head>
    <meta charset="utf-8"/>
    <title>${session.SOFT_NAME }_智能办公系统</title>
    <meta name="description" content="Dashboard"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <%include("/app/resapi/style.html"){}%>
    <link rel="stylesheet" href="/module/zTree_v3/css/bootstrapStyle/bootstrapStyle.css" type="text/css">
    <link rel="stylesheet" href="/module/bootstrap-table/bootstrap-table.css" rel="stylesheet"/>
    <link rel="stylesheet" type="text/css" href="/module/jeDate/jedate.css"/>
    <style type="text/css">
        .table > tbody > tr > td {
            vertical-align: middle;
        }
    </style>
</head>
<body style="overflow-y: auto;">
<div class="page-body" style="padding: 4px 0px 0px 0px">
    <div class="main-container container-fluid">
        <div class="page-container">
            <div class="col-md-12 col-sm-12 col-xs-12" style="padding: 0px">
                <div class="tabbable">
                    <ul class="nav nav-tabs tabs-flat" id="myTab11" style="background-image: url('/gobal/img/tb_header.png'); background-size: 34px 60px;">
                        <li class="active"><a href="/app/core/partycommission/commission" aria-expanded="true">纪委信息</a></li>
                        <li class=""><a href="/app/core/partycommission/commission?view=info" aria-expanded="false">届次信息</a></li>
                        <li class=""><a href="/app/core/partycommission/commission?view=list" aria-expanded="false">换届记录</a></li>
                    </ul>
                    <div class="tab-content tabs-flat">
                        <div class="buttons-preview" style="text-align: right">
                            <a class="btn btn-purple js-setcomm" href="javascript:void(0);"><i class="glyphicon glyphicon-retweet"></i> 换届</a>
                            <a class="btn btn-success js-appointment" href="javascript:void(0);"><i class="glyphicon glyphicon-user"></i> 任命</a>
                            <a class="btn btn-info js-appointment" href="javascript:void(0);"><i class="fa fa-plus"></i> 增补</a>
                            <a class="btn btn-danger js-appointment" href="javascript:void(0);"><i class="fa fa-times"></i> 卸职</a>
                        </div>
                        <div class="row">
                            <div class="col-md-offset-3 col-md-6 col-sm-6 col-xs-12" style="padding: 0px">
                                <div class="well well-sm">
                                    <div style="text-align: center">
                                        <span style="text-align: center; font-size: 24px; font-weight: 800">第<span style="color: firebrick;" id="spanDeadline"></span>届纪律检查委员会</span>
                                        <input type="hidden" id="recordId" name="recordId">
                                    </div>
                                    <div style="padding: 20px;">
                                        <div style="margin-bottom: 10px;">
                                            <span style="font-size: 20px; font-weight: 600">书&nbsp;&nbsp;&nbsp;记：</span>
                                            <span id="spanSecretary" style="font-size: 18px; font-weight: 600;margin-left: 10px"></span>
                                        </div>
                                        <div style="margin-bottom: 10px">
                                            <span style="font-size: 20px; font-weight: 600">副书记：</span>
                                            <span id="spanSecretaryOther" style="font-size: 18px; font-weight: 600;margin-left: 10px"></span>
                                        </div>
                                        <div style="margin-bottom: 10px">
                                            <span style="font-size: 20px; font-weight: 600">委&nbsp;&nbsp;&nbsp;员：</span>
                                            <span id="spanMemberId" style="font-size: 18px; font-weight: 600;margin-left: 10px"></span>
                                        </div>
                                        <div style="margin-bottom: 10px">
                                            <span style="font-size: 20px; font-weight: 600">届&nbsp;&nbsp;&nbsp;期：</span>
                                            <span id="spanBeinTime" style="font-size: 18px; font-weight: 600;margin-left: 10px">
												</span>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<div class="modal fade bs-example-modal-lg" id="setcommmodal" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel1" aria-hidden="true" style="display: none;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myLargeModalLabel1">纪委组织换届</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal form-bordered" role="form" id="form1">
                    <table class="table table-hover table-striped table-bordered">
                        <tr>
                            <td width="20%">届次：</td>
                            <td width="30%"><input placeholder="届次" type="text" name="deadline" id="deadline" class="form-control" maxlength="50"></td>
                            <td width="20%">产生方式：</td>
                            <td width="30%">
                                <select name="createType" id="createType" class="form-control">
                                    <option value="1">差额</option>
                                    <option value="2">等额</option>
                                    <option value="3">其他</option>
                                </select>
                            </td>
                        </tr>
                        <tr>
                            <td width="20%">届始日期：</td>
                            <td width="30%"><input placeholder="届始日期" type="text" name="beginTime" id="beginTime" class="form-control" maxlength="50" readonly="readonly"></td>
                            <td width="20%">届满日期：</td>
                            <td width="30%"><input placeholder="届满日期" type="text" name="endTime" id="endTime" class="form-control" maxlength="20" readonly="readonly"></td>
                        </tr>
                        <tr>
                            <td width="20%">书记：</td>
                            <td width="30%"><input placeholder="书记" type="text" name="secretary" id="secretary" class="form-control" maxlength="50" readonly="readonly" opt-id="secretary"
                                                   onclick="selectPartyMember(this,'false');"></td>
                            <td width="20%">副书记：</td>
                            <td width="30%"><input placeholder="副书记" type="text" name="secretaryOther" id="secretaryOther" class="form-control" maxlength="20" readonly="readonly" opt-id="secretaryOther"
                                                   onclick="selectPartyMember(this,'true');"></td>
                        </tr>
                        <tr>
                            <td width="20%">委员：</td>
                            <td colspan="2">
                                <textarea placeholder="委员" rows="5" cols="" id="memberId" name="memberId" readonly="readonly" class="form-control"></textarea>
                            </td>
                            <td width="20%">
                                <a style="cursor: pointer;" opt-id="memberId" onclick="selectPartyMember(this,'true');">${i18n('system.select')}</a>
                                <a style="cursor: pointer;" onclick="clearSelect('memberId')">${i18n('system.clear')}</a>
                            </td>
                        </tr>
                        <tr>
                            <td colspan="4">换届摘要</td>
                        </tr>
                        <tr>
                            <td colspan="4">
                                <div id="remark" name="remark"></div>
                            </td>
                        </tr>
                        <tr>
                            <td width="20%">相关文件：</td>
                            <td width="80%" colspan="3">
                                <div id="show_attach"></div>
                                <a class="addfile" href="javascript:void(0)">${i18n('fileupload')} <input data_value="" type="file" onchange="fileUpLoad('party','attach');" hidefocus="true" maxlength="1"
                                                                                                          id="attach" name="attach" class="addfile" multiple="multiple"></a> <a class="addfile" style="width: 200px;" href="#" op_id="attach" onclick="selectattach(this,'true')">${i18n('system.netFileSelect')}</a>
                            </td>
                        </tr>
                    </table>
                </form>

            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-setcommmodal">${i18n('save')}</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>

<div class="modal fade bs-example-modal-lg" id="setappointment" tabindex="-1" role="dialog" aria-labelledby="myLargeModalLabel2" aria-hidden="true" style="display: none;">
    <div class="modal-dialog modal-lg">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
                <h4 class="modal-title" id="myLargeModalLabel2">纪委组织任命/增补/卸职</h4>
            </div>
            <div class="modal-body">
                <form class="form-horizontal form-bordered" role="form" id="form2">
                    <table class="table table-hover table-striped table-bordered">
                        <tr>
                            <td width="20%">书记：</td>
                            <td width="30%"><input placeholder="书记" type="text" name="appSecretary" id="appSecretary" class="form-control" maxlength="50" readonly="readonly" opt-id="appSecretary"
                                                   onclick="selectPartyMember(this,'false');"></td>
                            <td width="20%">副书记：</td>
                            <td width="30%"><input placeholder="副书记" type="text" name="appSecretaryOther" id="appSecretaryOther" class="form-control" maxlength="20" readonly="readonly" opt-id="appSecretaryOther"
                                                   onclick="selectPartyMember(this,'true');"></td>
                        </tr>
                        <tr>
                            <td width="20%">委员：</td>
                            <td colspan="2">
                                <textarea placeholder="委员" rows="5" cols="" id="appMemberId" name="appMemberId" readonly="readonly" class="form-control"></textarea>
                            </td>
                            <td width="20%">
                                <a style="cursor: pointer;" opt-id="appMemberId" onclick="selectPartyMember(this,'true');">${i18n('system.select')}</a>
                                <a style="cursor: pointer;" onclick="clearSelect('appMemberId')">${i18n('system.clear')}</a>
                            </td>
                        </tr>
                    </table>
                </form>
            </div>
            <div class="modal-footer">
                <button type="button" class="btn btn-warning" data-dismiss="modal">${i18n('cancel')}</button>
                <button type="button" class="btn btn-primary js-appointmentmodal">${i18n('save')}</button>
            </div>
        </div>
        <!-- /.modal-content -->
    </div>
    <!-- /.modal-dialog -->
</div>


<div id="orgselectdiv"></div>
</body>
<%include("/app/resapi/sysjs.html"){}%>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.core.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.excheck.js"></script>
<script type="text/javascript" src="/module/zTree_v3/js/jquery.ztree.exedit.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table.js"></script>
<script type="text/javascript" src="/module/bootstrap-table/bootstrap-table-${localeLangCountry()}.js"></script>
<script type="text/javascript" src="/assets/js/editors/summernote/summernote.js"></script>
<script type="text/javascript" src="/module/fileupload/ajaxfileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/fileupload.js"></script>
<script type="text/javascript" src="/module/fileupload/attachselect.js"></script>
<script type="text/javascript" src="/module/jeDate/jeDate.js"></script>
<script type="text/javascript" src="/module/govselect/govselect.js"></script>
<script type="text/javascript" src="/gobal/js/page/partycommission/commission.js"></script>
</body>
</html>
